package edu.xpu.project.record.service;

import java.util.List;

import org.springframework.data.domain.Page;

import edu.xpu.project.base.service.BaseCrudService;
import edu.xpu.project.record.entity.AssignBusRecord;

public interface AssignBusRecordService extends BaseCrudService<AssignBusRecord, Long> {

	public Page<AssignBusRecord> getPageByCriterias(String pageNumberStr,
			String pageSizeStr, final AssignBusRecord assignBusRecord);
	
	public List<AssignBusRecord> getRecordsByStatus(Integer status);
	
	/**
	  * @MethodName: getRecordsByBusScheduleId
	  * @Description: 根据车次id获取指派记录
	  * @Author liukang
	  * @date 2017年5月27日  上午11:08:32
	 */
	public List<AssignBusRecord> getRecordsByBusScheduleIdAndTime(Long scheduleId, String dateStr);
}
